Skip to content

Simplify theme and grammar management #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 15, 2025

Conversation

ryangjchandler
Copy link
Collaborator

My goal for Phiki 2.x is to ensure that all languages supported by the package can be used correctly, meaning there aren't any timeouts or invalid RegEx patterns.

In order to do this, we need to really limit which grammars are included and have solid test cases for each, even if those are snapshot tests.

This PR removes a lot of grammar files and removes all of the "magic" stuff we had going on. I now just need to go through each grammar, put together a solid test case for each and ensure everything works correctly.

@ryangjchandler ryangjchandler merged commit 3440355 into 2.x Jun 15, 2025
3 checks passed
@ryangjchandler ryangjchandler deleted the manual-grammar-inclusion branch June 15, 2025 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant